package com.spring.remote;

import lombok.Getter;
import lombok.Setter;

/**
 * 需要反射的类
 * @author Administrator
 *
 */
@Setter
@Getter
public class Invoke {
	
	private String service;// 需要放入的service

	private String method;// 放入的方法
	
	private Object seviceObject;//
	
	private Class<?>[] paramTypes;
	private Object[] param;
	private Object returnType;
	
	
	private ModeView modeView;
	
	public Invoke(Object service, String method) {
		this.seviceObject = service;
		this.method = method;
	}
	public Invoke(String method, Object seviceObject, Class<?>[] paramTypes, Object[] param) {
		super();
		this.method = method;
		this.seviceObject = seviceObject;
		this.paramTypes = paramTypes;
		this.param = param;
	}
	public Invoke() {
		super();
	}
	
	
	
}
